import { IFeidaoAiBrowserComponent } from '@feidao/web/interfaces';
import generate from '@feidao/web/atom/browser/url/query2url';

export default async function ca013(fd: IFeidaoAiBrowserComponent, ...args: any[]) {
	// 切换每页显示的条数
	const page_size = parseInt(args[0].currentTarget.value, 10);
	const query = fd.data.params;
	query.page_size = page_size;
	query.page_no = 1;
	window.location.href = generate(query);
}
